﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace housingsafety.server.Entities.DataModels
{
    [Table("zm_pc_base_cj")]
    public partial class ZmPcBaseCj : Repository.IEntity
    {
        [Key]
        [Column("id")]
        [StringLength(50)]
        public string Id { get; set; }
        [Column("fwbh")]
        [StringLength(50)]
        public string? Fwbh { get; set; }
        [Column("xzqdm")]
        public string? Xzqdm { get; set; }

        [Column("town")]
        public string? Town { get; set; }

        [Column("village")]
        public string? Village { get; set; }


        [Column("xzq")]
        public string? Xzq { get; set; }

        [Column("towndm")]
        public string? Towndm { get; set; }

        [Column("villagedm")]
        public string? Villagedm { get; set; }




        [Column("address")]
        [StringLength(254)]
        public string? Address { get; set; }

        [Column("yhfwbh")]
        [StringLength(36)]
        public string? Yhfwbh { get; set; }

        [Column("hzxm")]
        [StringLength(36)]
        public string ?Hzxm { get; set; }

        [Column("cs")]
        public long? Cs { get; set; }

        [Column("jzrks")]
        public int? Jzrks { get; set; }

        [Column("zzrs")]
        public int ?Zzrs { get; set; }

        [Column("jzfjs")]
        public int? Jzfjs { get; set; }

        [Column("fjsl")]
        public int? Fjsl { get; set; }

        [Column("jzscxyaqcksl")]
        public int? Jzscxyaqcksl { get; set; }

        [Column("jzscmj")]
        public decimal? Jzscmj { get; set; }

        [Column("jzszlwxdlgybjqs")]
        public int? Jzszlwxdlgybjqs { get; set; }

        [Column("jzsyjyplmhxts")]
        public int? Jzsyjyplmhxts { get; set; }

        [Column("jzxyssltsl")]
        public int? Jzxyssltsl { get; set; }

        [Column("mhqsl")]
        public int? Mhqsl { get; set; }

        [Column("fytsmz")]
        public int? Fytsmz { get; set; }

        [Column("xggdjsbp")]
        public int? Xggdjsbp { get; set; }


        //[Column("sfazzzryslpbfytsmd")]
        //public int? Sfazzzryslpbfytsmd { get; set; }

        [Column("cjzwqtjyytmsg")]
        [StringLength(100)]
        public string? Cjzwqtjyytmsg { get; set; }

        [Column("cjzwqtjyyt")]
        public int? Cjzwqtjyyt { get; set; }


        //彩钢板 是否住人
        [Column("wdwhjgfjgqsyyrkrgbdj")]
        public int? Wdwhjgfjgqsyyrkrgbdj { get; set; }

        [Column("sfczjxgbczzr_photo", TypeName = "json")]
        public String? SfczjxgbczzrPhoto { get; set; }

        [Column("sfczjxgbczzr_msg")]
        [StringLength(1000)]
        public String? SfczjxgbczzrMsg { get; set; }

        [Column("sfczjxgbczzr_zgqk")]
        public short? SfczjxgbczzrZgqk { get; set; }

        [Column("sfczjxgbczzr_zgphoto", TypeName = "json")]
        public String? SfczjxgbczzrZgPhoto { get; set; }


        //疏散通道
        [Column("jsrysstd")]
        [StringLength(100)]
        public string? Jsrysstd { get; set; }

        [Column("sfmzstd_photo", TypeName = "json")]
        public String? SfmzstdPhoto { get; set; }

        [Column("sfmzstd_msg")]
        [StringLength(1000)]
        public String? SfmzstdMsg { get; set; }

        [Column("sfmzstd_zgqk")]
        public short? SfmzstdZgqk { get; set; }

        [Column("sfmzstd_zgphoto", TypeName = "json")]
        public String? SfmzstdZgPhoto { get; set; }

        //疏散通道使用易燃可燃材料装修
        [Column("sstdsyyrkrclzx")]
        public int? Sstdsyyrkrclzx { get; set; }

        [Column("sstdsyyrkrclzx_photo", TypeName = "json")]
        public String? SstdsyyrkrclzxPhoto { get; set; }

        [Column("sstdsyyrkrclzx_msg")]
        [StringLength(1000)]
        public String? SstdsyyrkrclzxMsg { get; set; }

        [Column("sstdsyyrkrclzx_zgqk")]
        public short? SstdsyyrkrclzxZgqk { get; set; }

        [Column("sstdsyyrkrclzx_zgphoto", TypeName = "json")]
        public String? SstdsyyrkrclzxZgPhoto { get; set; }

        //供人员疏散的场院、内院、天井设置不利于烟气扩散的顶棚南棚
        [Column("gryssdcsszblyyqksddp")]
        public int? Gryssdcsszblyyqksddp { get; set; }

        [Column("gryssdcsszblyyqksddp_photo", TypeName = "json")]
        public String? GryssdcsszblyyqksddpPhoto { get; set; }

        [Column("gryssdcsszblyyqksddp_msg")]
        [StringLength(1000)]
        public String? GryssdcsszblyyqksddpMsg { get; set; }

        [Column("gryssdcsszblyyqksddp_zgqk")]
        public short? GryssdcsszblyyqksddpZgqk { get; set; }

        [Column("gryssdcsszblyyqksddp_zgphoto", TypeName = "json")]
        public String? GryssdcsszblyyqksddpZgPhoto { get; set; }

        //服务充电设施服务于房屋的电动自行车充电设施是否按要求建设和收费
        [Column("fwyfwdddzxccdsssfayqjshsf")]
        public int? Fwyfwdddzxccdsssfayqjshsf { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_photo", TypeName = "json")]
        public String? FwyfwdddzxccdsssfayqjshsfPhoto { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_msg")]
        [StringLength(1000)]
        public String? FwyfwdddzxccdsssfayqjshsfMsg { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_zgqk")]
        public short? FwyfwdddzxccdsssfayqjshsfZgqk { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_zgphoto", TypeName = "json")]
        public String? FwyfwdddzxccdsssfayqjshsfZgPhoto { get; set; }


        [Column("ckfhwggptzlsl")]
        public int? Ckfhwggptzlsl { get; set; }


        [Column("sstdjsqk")]
        [StringLength(100)]
        public string? Sstdjsqk { get; set; }

        [Column("create_by")]
        [StringLength(50)]
        public string ?CreateBy { get; set; }

        [Column("create_name")]
        public string? CreateName { get; set; }

        [Column("create_on")]
        public DateTime CreateOn { get; set; }

        [Column("create_ip")]
        [StringLength(20)]
        public string? CreateIp { get; set; }

        [Column("modified_by")]
        [StringLength(50)]
        public string ?ModifiedBy { get; set; }

        [Column("modified_on")]
        public DateTime? ModifiedOn { get; set; }

        [Column("modified_ip")]
        [StringLength(20)]
        public string? ModifiedIp { get; set; }

        [Column("is_delete")]
        public short ?IsDelete { get; set; }

        [Column("delete_by")]
        [StringLength(50)]
        public string ?DeleteBy { get; set; }

        [Column("delete_on")]
        public DateTime? DeleteOn { get; set; }

        [Column("delete_ip")]
        [StringLength(20)]
        public string ?DeleteIp { get; set; }

        [Column("bdfwjzrydddzxcsl")]
        public int? Bdfwjzrydddzxcsl { get; set; }



        [Column("pcsj")]
        public DateTime? Pcsj { get; set; }

        [Column("yhly")]
        public int? Yhly { get; set; }

 

        [Column("sfszsszsbzhaqckbz")]
        public int? Sfszsszsbzhaqckbz { get; set; }

        [Column("fwzt")]
        public int? Fwzt { get; set; }


        [Column("cdfs")]
        public string? Cdfs { get; set; }

        [Column("cdfsqtbz")]
        public string? Cdfsqtbz { get; set; }


        [Column("czryrs")]
        public int? Czryrs { get; set; }




        [Column("sfazfztsss")]
        public int? Sfazfztsss { get; set; }



        [Column("ywgdlttxwd")]
        public int? Ywgdlttxwd { get; set; }


        [Column("current_location")]
        public string? CurrentLocation { get; set; }
        [Column("longitude")]
        public double? Longitude { get; set; }
        [Column("latitude")]
        public double? Latitude { get; set; }

    }

    [Table("zm_pc_base_sqjz")]
    public partial class ZmPcBaseSqjz : Repository.IEntity
    {
        [Key]
        [Column("id")]
        [StringLength(50)]
        public string Id { get; set; }
        [Column("fwbh")]
        [StringLength(50)]
        public string? Fwbh { get; set; }
        [Column("xzqdm")]
        public string? Xzqdm { get; set; }

        [Column("town")]
        public string? Town { get; set; }

        [Column("village")]
        public string? Village { get; set; }

        [Column("iscj")]
        public short? iscj { get; set; }
        [Column("xzq")]
        public string? Xzq { get; set; }

        [Column("towndm")]
        public string? Towndm { get; set; }

        [Column("villagedm")]
        public string? Villagedm { get; set; }

       

        //彩钢板 是否住人
        [Column("wdwhjgfjgqsyyrkrgbdj")]
        public int? Wdwhjgfjgqsyyrkrgbdj { get; set; }

        [Column("sfczjxgbczzr_photo", TypeName = "json")]
        public String? SfczjxgbczzrPhoto { get; set; }

        [Column("sfczjxgbczzr_msg")]
        [StringLength(1000)]
        public String? SfczjxgbczzrMsg { get; set; }

        [Column("sfczjxgbczzr_zgqk")]
        public short? SfczjxgbczzrZgqk { get; set; }

        [Column("sfczjxgbczzr_zgphoto", TypeName = "json")]
        public String? SfczjxgbczzrZgPhoto { get; set; }


        //疏散通道
        [Column("jsrysstd")]
        [StringLength(100)]
        public string? Jsrysstd { get; set; }

        [Column("sfmzstd_photo", TypeName = "json")]
        public String? SfmzstdPhoto { get; set; }

        [Column("sfmzstd_msg")]
        [StringLength(1000)]
        public String? SfmzstdMsg { get; set; }

        [Column("sfmzstd_zgqk")]
        public short? SfmzstdZgqk { get; set; }

        [Column("sfmzstd_zgphoto", TypeName = "json")]
        public String? SfmzstdZgPhoto { get; set; }

        //疏散通道使用易燃可燃材料装修
        [Column("sstdsyyrkrclzx")]
        public int? Sstdsyyrkrclzx { get; set; }

        [Column("sstdsyyrkrclzx_photo", TypeName = "json")]
        public String? SstdsyyrkrclzxPhoto { get; set; }

        [Column("sstdsyyrkrclzx_msg")]
        [StringLength(1000)]
        public String? SstdsyyrkrclzxMsg { get; set; }

        [Column("sstdsyyrkrclzx_zgqk")]
        public short? SstdsyyrkrclzxZgqk { get; set; }

        [Column("sstdsyyrkrclzx_zgphoto", TypeName = "json")]
        public String? SstdsyyrkrclzxZgPhoto { get; set; }

        //供人员疏散的场院、内院、天井设置不利于烟气扩散的顶棚南棚
        [Column("gryssdcsszblyyqksddp")]
        public int? Gryssdcsszblyyqksddp { get; set; }

        [Column("gryssdcsszblyyqksddp_photo", TypeName = "json")]
        public String? GryssdcsszblyyqksddpPhoto { get; set; }

        [Column("gryssdcsszblyyqksddp_msg")]
        [StringLength(1000)]
        public String? GryssdcsszblyyqksddpMsg { get; set; }

        [Column("gryssdcsszblyyqksddp_zgqk")]
        public short? GryssdcsszblyyqksddpZgqk { get; set; }

        [Column("gryssdcsszblyyqksddp_zgphoto", TypeName = "json")]
        public String? GryssdcsszblyyqksddpZgPhoto { get; set; }

        //服务充电设施服务于房屋的电动自行车充电设施是否按要求建设和收费
        [Column("fwyfwdddzxccdsssfayqjshsf")]
        public int? Fwyfwdddzxccdsssfayqjshsf { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_photo", TypeName = "json")]
        public String? FwyfwdddzxccdsssfayqjshsfPhoto { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_msg")]
        [StringLength(1000)]
        public String? FwyfwdddzxccdsssfayqjshsfMsg { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_zgqk")]
        public short? FwyfwdddzxccdsssfayqjshsfZgqk { get; set; }

        [Column("fwyfwdddzxccdsssfayqjshsf_zgphoto", TypeName = "json")]
        public String? FwyfwdddzxccdsssfayqjshsfZgPhoto { get; set; }






        [Column("address")]
        [StringLength(254)]
        public string? Address { get; set; }

        [Column("yhfwbh")]
        [StringLength(36)]
        public string? Yhfwbh { get; set; }

        [Column("hzxm")]
        [StringLength(36)]
        public string? Hzxm { get; set; }

        [Column("cs")]
        public long? Cs { get; set; }

        [Column("jzrks")]
        public int? Jzrks { get; set; }

        [Column("zzrs")]
        public int? Zzrs { get; set; }

        [Column("jzfjs")]
        public int? Jzfjs { get; set; }

        [Column("fjsl")]
        public int? Fjsl { get; set; }

        [Column("jzscxyaqcksl")]
        public int? Jzscxyaqcksl { get; set; }

        [Column("jzscmj")]
        public decimal? Jzscmj { get; set; }

        [Column("jzszlwxdlgybjqs")]
        public int? Jzszlwxdlgybjqs { get; set; }

        [Column("jzsyjyplmhxts")]
        public int? Jzsyjyplmhxts { get; set; }

        [Column("jzxyssltsl")]
        public int? Jzxyssltsl { get; set; }

        [Column("mhqsl")]
        public int? Mhqsl { get; set; }

        [Column("fytsmz")]
        public int? Fytsmz { get; set; }

        [Column("xggdjsbp")]
        public int? Xggdjsbp { get; set; }

        

        //[Column("sfazzzryslpbfytsmd")]
        //public int? Sfazzzryslpbfytsmd { get; set; }

        [Column("cjzwqtjyytmsg")]
        [StringLength(100)]
        public string? Cjzwqtjyytmsg { get; set; }

        [Column("cjzwqtjyyt")]
        public int? Cjzwqtjyyt { get; set; }


        [Column("ckfhwggptzlsl")]
        public int? Ckfhwggptzlsl { get; set; }

      
        [Column("sstdjsqk")]
        [StringLength(100)]
        public string? Sstdjsqk { get; set; }

        [Column("create_by")]
        [StringLength(50)]
        public string? CreateBy { get; set; }

        [Column("create_name")]
        public string? CreateName { get; set; }

        [Column("create_on")]
        public DateTime CreateOn { get; set; }

        [Column("create_ip")]
        [StringLength(20)]
        public string? CreateIp { get; set; }

        [Column("modified_by")]
        [StringLength(50)]
        public string? ModifiedBy { get; set; }

        [Column("modified_on")]
        public DateTime? ModifiedOn { get; set; }

        [Column("modified_ip")]
        [StringLength(20)]
        public string? ModifiedIp { get; set; }

        [Column("is_delete")]
        public short? IsDelete { get; set; }

        [Column("delete_by")]
        [StringLength(50)]
        public string? DeleteBy { get; set; }

        [Column("delete_on")]
        public DateTime? DeleteOn { get; set; }

        [Column("delete_ip")]
        [StringLength(20)]
        public string? DeleteIp { get; set; }

        [Column("bdfwjzrydddzxcsl")]
        public int? Bdfwjzrydddzxcsl { get; set; }

      

        [Column("pcsj")]
        public DateTime? Pcsj { get; set; }

        [Column("yhly")]
        public int? Yhly { get; set; }

     

        [Column("sfszsszsbzhaqckbz")]
        public int? Sfszsszsbzhaqckbz { get; set; }

        [Column("fwzt")]
        public int? Fwzt { get; set; }


        [Column("cdfs")]
        public string? Cdfs { get; set; }

        [Column("cdfsqtbz")]
        public string? Cdfsqtbz { get; set; }


        [Column("czryrs")]
        public int? Czryrs { get; set; }

        [Column("sfazfztsss")]
        public int? Sfazfztsss { get; set; }



        [Column("ywgdlttxwd")]
        public int? Ywgdlttxwd { get; set; }


        [Column("current_location")]
        public string? CurrentLocation { get; set; }
        [Column("longitude")]
        public double? Longitude { get; set; }
        [Column("latitude")]
        public double? Latitude { get; set; }


        [NotMapped]
        public string? DetaileId { get; set; }

    }
}
